import { getAction, deleteAction, putAction, postAction, httpAction } from '@/api/manage'
// 主页面
const lawADD = (params) => postAction('/regulations/regulations/add', params)

const lawEdit = (params) => postAction('/regulations/regulations/edit', params)

const lawDelete = (params) => deleteAction('/regulations/regulations/delete', params)


// 详情页
const lawArticleAdd = (params) => postAction('/regulations/article/add', params)

const lawArticleEdit = (params) => postAction('/regulations/article/edit', params)

const lawArticleDelete = (params) => deleteAction('/regulations/article/delete', params)


export { lawADD, lawEdit, lawDelete, lawArticleAdd, lawArticleEdit, lawArticleDelete }